package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.dto.ProductHotSaleDTO;
import com.sc.nft.entity.MallHotSaleActivity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.vo.mall.BargainPriceProductPageVO;
import com.sc.nft.entity.vo.mall.HotSaleActivityPageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 热卖商品(sc_mall_hot_sale_activity)数据Mapper
 *
 * @author Sun
 * @since 2023-09-02 16:28:37
 * @description 由 Mybatisplus Code Generator 创建
*/
@Mapper
public interface MallHotSaleActivityMapper extends BaseMapper<MallHotSaleActivity> {

    IPage<ProductHotSaleDTO> getHotSalePage(Page page , @Param("activityType") Integer activityType, @Param("type")Integer type,
                                            @Param("status")Boolean status, @Param("daoId")Long daoId, @Param("name") String name);

}
